wayland: Make data_source_target() an empty stub
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 9 Mar 2016 16:30:29 +0000 (17:30 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 9 Mar 2016 17:39:16 +0000 (18:39 +0100)
commitaaa467679d8ea592856a6a472584ba4988f68dcc
treec70f99c377bb4935b75e89f75a7af29a9b5d2e42
parentf61965233bdd4eb725e8508849517f7865a92d5c
wayland: Make data_source_target() an empty stub

This request actually means nothing to the upper GDK layers,
we used to preempt a GDK_SELECTION_REQUEST event, but this is too
eager, and not like things work in X11.

Originally in wayland, this event may be used for feedback purposes.
We however don't perform any mimetype-based feedback, so we can
safely ignored.

This makes data_source_send() the only place where we actually
trigger GDK_SELECTION_REQUEST, this one is conceptually the same
than the X11 selection request event.
gdk/wayland/gdkselection-wayland.c